HAL CORTEX SYSTICK functions migration ¶
Note
The SYSTICK migration is applicable with all STM32 series.
HAL_SYSTICK_Config ¶
|
HAL1 |
HAL2 |
|---|---|
|
The function
|
This function has been updated and renamed to
Functionality Update:
|
uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
|
hal_status_t HAL_CORTEX_SYSTICK_SetFreq(uint32_t ticks_freq);
|
- Related use cases:
HAL_SYSTICK_CLKSourceConfig ¶
|
HAL1 |
HAL2 |
|---|---|
|
The function
|
This function has been updated and renamed to
Functionality Update:
|
void HAL_SYSTICK_CLKSourceConfig(uint32_t CLKSource)
|
void HAL_CORTEX_SYSTICK_SetClkSource(hal_cortex_systick_clk_src_t clk_src)
|
HAL_SYSTICK_GetCLKSourceConfig ¶
|
HAL1 |
HAL2 |
|---|---|
|
The function
|
This function has been removed, the current SysTick clock source is read directly from CMSIS. |
HAL_SYSTICK_IRQHandler ¶
|
HAL1 |
HAL2 |
|---|---|
|
the function
|
This function has been renamed to
|
void HAL_SYSTICK_IRQHandler(void)
|
void HAL_CORTEX_SYSTICK_IRQHandler(void)
|
HAL_SYSTICK_Callback ¶
|
HAL1 |
HAL2 |
|---|---|
|
The function
|
This function has been renamed to
|
void HAL_SYSTICK_Callback(void)
|
void HAL_CORTEX_SYSTICK_Callback(void)
|